package cn.qidd.keep.manage.model.system;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.Set;

/**
 * Created by sunyanping on 2018/9/17
 */
@Data
public class AssignRoleParams {
    @NotBlank
    @ApiModelProperty(value = "用户ID", required = true)
    private String userId;
    @NotEmpty
    @ApiModelProperty(value = "角色ID", required = true)
    private Set<String> roleIds;
}
